//if (!window.console) {
//    var names = ["log", "debug", "info", "warn", "error", "assert", "dir", "dirxml", "group", "groupEnd", "time", "timeEnd", "count", "trace", "profile", "profileEnd"];
//    window.console = {};
//    for (var i = 0; i < names.length; ++i) window.console[names[i]] = function () { }
//};

var G = {
    ui: {},
    logic: {},
    util: {},
    data: {},
    domain: {
        w: 'localhost:9191',
        t: 'http://localhost:9191',
        k: 'http://localhost:9191'
    },
    set: {
        KindEditor_seting: {
            themeType: "simple",
            resizeType: 1,
            syncType: "",
            allowPreviewEmoticons: false,
            items: ['source', 'undo', 'redo', 'plainpaste', 'plainpaste', 'wordpaste', 'clearhtml', 'quickformat', 'selectall', 'fullscreen', 'fontname', 'fontsize', '|', 'forecolor', 'hilitecolor', 'bold', 'italic', 'underline', 'hr', 'removeformat', '|', 'justifyleft', 'justifycenter', 'justifyright', 'insertorderedlist', 'insertunorderedlist', '|', 'emoticons', 'image', 'link', 'unlink', 'preview'],
            allowFileManager: true,
            height: "300px",
            width: 700,
            minWidth: 610,
            afterCreate: function () {
                this.sync()
            },
            afterBlur: function () {
                this.sync()
            }
        },
        dataTables: {
            bProcessing: true,
            bServerSide: true,
            sPaginationType: "full_numbers",
            sAjaxSource: "/plus/page/server.php",
            "oLanguage": {
                "sLengthMenu": " <span>每页显示</span>_MENU_ <span>条记录</span> ",
                "sZeroRecords": "对不起，查询不到任何相关数据",
                "sInfo": "当前显示 _START_ 到 _END_ 条，共 _TOTAL_ 条记录",
                "sInfoEmtpy": "找不到相关数据",
                "sInfoFiltered": "数据表中共为 _MAX_ 条记录)",
                "sProcessing": "正在加载中...",
                "sSearch": "<span>搜索:</span> ",
                "sUrl": "",
                "oPaginate": {
                    "sFirst": "第一页",
                    "sPrevious": " 上一页 ",
                    "sNext": " 下一页 ",
                    "sLast": " 最后一页 "
                }
            }
        }
    }
};